<?php


namespace App\Models;


use Illuminate\Database\Eloquent\Model;

class ProductInventory extends Model
{
    protected $fillable = ['customer_id', 'usable', 'unusable', 'locked', 'outbound', 'expired', 'anomalous'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function product(){
        return $this->belongsTo(Product::class);
    }

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function customer(){
        return $this->belongsTo(Customer::class);
    }
}
